import java.util.ArrayList;
import java.util.List;

/**
 * @author ganbo
 * @date 2022/10/20 17:00
 */
public class T {

    public static void main(String[] args) throws InterruptedException {

//        try {
//            String str = "abc";
//            for (int i = 0; i < 10000; i++) {
//                str = str + str;
//            }
//        } catch (Exception e) {
//            e.printStackTrace();
//        }

        new Thread(() -> {
            List<Object> list = new ArrayList<>();
            try {
                for (int i = 0; i < 1000000; i++) {
                    list.add(new int[100000]);
                }
            } catch (Error e) {
                e.printStackTrace();
            }

            System.out.println("==============子线程会执行嘛");
        }).start();

        Thread.sleep(5000);
        System.out.println("====================结束了吗》》》》");
    }
}
